<div class="row login">
    <br/>
    <div class="col-md-12">
        <?php echo $this->Form->create('User', array('class' => 'form-horizontal', 'inputDefaults' => array('label' => false))); ?>
        <field>
            <legend>Đăng nhập</legend>
            <div class="form-group">
                <label for="username" class="col-md-3 control-label">Tên đăng nhập
                    <sanp class="text-danger">*</sanp>
                    :</label>

                <div class="col-md-4">
                    <?php echo $this->Form->input('username', array('class' => 'form-control', 'placeholder' => 'Tên đăng nhập...')); ?>
                </div>
            </div>
            <div class="form-group">
                <label for="password" class="col-md-3 control-label">Mật khẩu
                    <sanp class="text-danger">*</sanp>
                    : </label>

                <div class="col-md-4">
                    <?php echo $this->Form->input('password', array('class' => 'form-control', 'type' => 'password', 'placeholder' => 'Mật khẩu...')); ?>
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-2 col-md-offset-3">
                    <?php echo $this->Form->submit('Submit', array('class' => 'btn btn-xs btn-info form-control')); ?>
                </div>
            </div>
        </field>
    </div>
</div>